﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data;
using MySql.Data.MySqlClient;
using MySQL.Db;

namespace Gollie.Invoice.Database
{
	public static class Queries
	{
		internal static ResultSet GetDepositsForInvoice(int month, int year)
		{
			QueryArguments args = new QueryArguments();

			args.Add("p_month", month);
			args.Add("p_year", year);

			Query query = new Query("sp_getdepositsforinvoice", args);

			return (ResultSet)query.Execute();
		}
	}
}
